<template>
    <div class="slider">
        <cube-slide  :loop="true" :autoPlay="true" :data="items"/>
    </div>
</template>

<script>
    export default {
        data(){
            return {
                items: [
                    {
                        url: '',
                        image: require('./img.png')
                    },
                    {
                        url: '',
                        image: require('./img.png')
                    },
                    {
                        url: '',
                        image: require('./img.png')
                    }
                ]
            }
            }
    }
</script>

<style type="text/css" lang="stylus">
    .cube-slide-item
        img
            width 100%
</style>
